Installing pyFAST Toolbox on Spyder
I am making this page in case someone has the exact same issue as I did. This is written on 27-01-2023 so be aware that some things may have changed. Note that this worked for Windows.
(These are the same instructions for installing any custom package in Spyder, really)
Firstly, follow the "Installation and testing" instructions on the pyFAST github page here: https://github.com/OpenFAST/python-toolbox
IF YOU DON'T HAVE GIT: Search the web and download git (e.g. gitforwindows.org). Install it. Now navigate the folder you want to download pyFast to. Right click and you should see "Git Bash here" option. Now follow the steps provided on github. Note that the full stops are important.
Spyder instructions
- Open Anaconda Prompt.
- Navigate to the folder containing the python-toolbox folder. If you don't know how to do this, search "how to navigate command prompt".
- Run the same line as before: python -m pip install -e .
- Close and reopen Spyder if you have it open.
- Now try "import pyFAST". No errors should come up if it's installed correctly.
I really hope the above works for you. If not, then best of luck!